package cn.hxlc.tie.demo.modular.zr.equipmentzr.model.param;/*
 @author rui
 @date 2021/6/28 --18:37
*/

import cn.hxlc.tie.demo.core.enums.DeptEnum;
import cn.hxlc.tie.demo.core.enums.LevelEnum;
import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.demo.core.enums.TypeEnum;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@ApiModel
@Data
public class EquipmentParam implements Serializable {
    @ApiModelProperty("")
    private Long fid;
    @ApiModelProperty("名称")
    private String fname;
    @ApiModelProperty("编码")
    private String fnumber;

    @ApiModelProperty("状态")
    @JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
    private StatusEnum fstatus;

    @ApiModelProperty("生产厂家")
    private String fmanufacturer;

    @ApiModelProperty("FCREATORID")
    private Long fcreatorid;

    @ApiModelProperty("创建时间")
    private Date fcreatetime;

    @ApiModelProperty("FOID")
    private String foid;

    @ApiModelProperty("FGROUPID")
    private Long  fgroupid;
    @ApiModelProperty("FSIMPLENAME")
    private String fsimplename;

    @ApiModelProperty("助记码")
    private String fmnemoniccode;

    private String fisavoidcheck;

    @ApiModelProperty("FTYPE")
    private String ftype;

    @ApiModelProperty("FUSELOT")
    private int fuselot;

    @ApiModelProperty("FMODEL")
    private String fmodel;

    @ApiModelProperty("是否关键设备")
    private int fiskey;

    @ApiModelProperty("是否主设备")
    private int fismain;

    @ApiModelProperty("关联主设备")
    private int fmainequipmentid;
    @ApiModelProperty("车间id")
    private Long ffactoryid;
    @ApiModelProperty("FLEVEL")
    private LevelEnum flevel;
    @ApiModelProperty("FOUTDATE")
    private Date foutdate;
    @ApiModelProperty("FBUYDATE")
    private Date fbuydate;
    @ApiModelProperty("FOUTNUMBER")
    private Date foutnumber;
    @ApiModelProperty("FPOWER")
    private Long fpower;
    @ApiModelProperty("FRUNSTATE")
    private DeptEnum frunstate;
    @ApiModelProperty("FCOLLECTDATA")
    private int fcollectdata;
    @ApiModelProperty("FUSERADDRESS")
    private String fuseraddress;
    @ApiModelProperty("FTONNAGE")
    private Double ftonnage;
    @ApiModelProperty("FCHECKINDATE")
    private Date fcheckindate;
    @ApiModelProperty("FMATERIALID")
    public int fmaterialid;
    @ApiModelProperty("FREMARK")
    public String remark;
    private List<EquipmentGroupParam> equipmentGroupParam;
}
